﻿using CNFM_CROCODILE_LOGO.Core.Domain.Current;
using CNFM_CROCODILE_LOGO.Core.Domain.ViewModels;
using System;
using System.Collections.Generic;
using System.Text;

namespace CNFM_CROCODILE_LOGO.Services.Interfaces
{
    /// <summary>
    /// 用户接口
    /// </summary>
    public interface IUserServices
    {
        /// <summary>
        /// 用户登陆
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        ReturnValueModel Login(UserModels model);

        /// <summary>
        /// 用户菜单
        /// </summary>
        /// <param name="roleId"></param>
        /// <returns></returns>
        ReturnValueModel UserMenu(string roleId);
    }
}
